home *** CD-ROM | disk | FTP | other *** search
/ Otherware / Otherware_1_SB_Development.iso / mac / hypercar / xcmd / xrulesde.sit / Xrules™ Demo / card_20577.txt < prev    next >
Encoding:
Text File  |  1991-06-24  |  1.2 KB  |  47 lines

  1. -- card: 20577 from stack: in
  2. -- bmap block id: 20982
  3. -- flags: 4000
  4. -- background id: 7992
  5. -- name: 5-Handling Conclusions
  6.  
  7.  
  8. -- part 1 (field)
  9. -- low flags: 01
  10. -- high flags: 0007
  11. -- rect: left=2 top=24 right=311 bottom=510
  12. -- title width / last selected line: 0
  13. -- icon id / first selected line: 0 / 0
  14. -- text alignment: 0
  15. -- font id: 22
  16. -- text size: 10
  17. -- style flags: 0
  18. -- line height: 13
  19. -- part name: 
  20.  
  21.  
  22. -- part 3 (button)
  23. -- low flags: 00
  24. -- high flags: 0000
  25. -- rect: left=256 top=314 right=337 bottom=281
  26. -- title width / last selected line: 0
  27. -- icon id / first selected line: 1013 / 1013
  28. -- text alignment: 1
  29. -- font id: 0
  30. -- text size: 12
  31. -- style flags: 0
  32. -- line height: 16
  33. -- part name: Next
  34. ----- HyperTalk script -----
  35. on mouseUp
  36.   go to next card
  37. end mouseUp
  38.  
  39.  
  40.  
  41. -- part contents for card part 1
  42. ----- text -----
  43. The "go to" statement in rules provides a mechanism for informing the user of a conclusion.  As with facts requiring queries, you must include cards with names matching those in "go to" statements.  When the inference engine encounters a 
  44. "go to" statement, it will go to the specified card.  To resume the inference process after the system displays a "go to" card, you must execute the "chain" XCMD. 
  45.  
  46.  
  47.